import Vue from 'vue'
import Router from 'vue-router'
import VueResource from 'vue-resource'
import login from '@/components/login'
import makefont from '@/components/makeFont'
import labelinformation from '@/components/labelInformation'
import selectType from '@/components/selectType'
Vue.use(Router)
Vue.use(VueResource)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path:'/makeFont/:id',
      name:'makefont',
      component:makefont
    },
    {
      path:'/labelInformation',
      name:'labelinformation',
      component:labelinformation
    },
    {
      path:'/selectType',
      name:'selectType',
      component:selectType
    }

  ]
})
